home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / vertex / aer.sty < prev    next >
Encoding:
Text File  |  1991-05-22  |  4.6 KB  |  155 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %
  3. %   This is the AER.STY for ECON.TEX
  4. %
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6.  
  7.  
  8. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. %      Special fonts
  10. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  11.  
  12. \font\fourteenHelv=cmss10 at 14pt
  13. \font\sctwelve=cmcsc10 scaled\magstep1
  14. \font\sctwelve=cmcsc10
  15.  
  16. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  17. %      Set pagesize
  18. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  19.  
  20. \input twocol
  21.  
  22. \newdimen\pageheight \pageheight=49pc
  23. \newdimen\pagewidth \pagewidth=34pc
  24. \newdimen\fullsize \fullsize=34pc
  25. \newdimen\ruleht \ruleht=.5pt
  26.  
  27. \vsize=49pc
  28. \hsize=34pc
  29. \colwidth=16pc
  30.  
  31. \hoffset=.5in
  32. \voffset=0in
  33.  
  34. \parindent=20pt
  35.  
  36. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  37. %      Headline and footline
  38. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  39.  
  40. \nopagenumbers
  41. \def\rightheadline{\hbox to \fullsize{{VOL. 99 No. 9\hfil\scten\runname\hskip 3em\runtitle}\hfil{\folio}}}
  42. \def\leftheadline{\hbox to \fullsize{\folio \hfil {\tenpoint THE ARMENIAN ECONOMIC REVIEW}\hfil JUNE, 1986}}
  43. \headline={\ifodd\pageno\rightheadline \else\leftheadline\fi}
  44.  
  45. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  46. %  Define topmatter style
  47. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  48.  
  49. \def\TitleFont{\fourteenHelv}
  50. \def\AuthorFont{\sctwelve}
  51.  
  52. \def\DoCenteredTitle#1{
  53.     \titlepage\global
  54.     \CenterBox
  55.        \titlebox
  56.        \TitleFont
  57.        {17pt}
  58.        {#1}}
  59.  
  60. \def\title#1{\DoCenteredTitle{#1}}
  61.  
  62. \def\author#1{\DoCenteredAuthor{{\it By}\space{#1$^*$}}}
  63. \def\authortwo#1{\message{Use ``author'' for both authors in this style.}}
  64.  
  65. \def\affil#1{\global\setbox\affilbox\hbox{\tenit\noindent #1}}
  66. \def\affiltwo#1{\message{In the aer.sty, affiliations go in the 
  67. "thanks" footnote.}}
  68.  
  69. \def\thanks#1{\global\setbox\thanksbox\hbox{\eightpoint $^*$#1}}
  70.  
  71. \def\date#1{\global\setbox\datebox\vbox{\tenrm #1 \hfil}}
  72.  
  73. \def\abstract#1{\global\setbox\abstractbox\vbox{\sl\hsize=23pc #1}}
  74.  
  75. \def\keywords#1{}
  76. \def\address#1{}
  77.  
  78. \def\topmatter{\relax}
  79. \def\endtopmatter{\DoTop}
  80. \def\document{\DoPaper}
  81.  
  82. \RomanSectiontrue
  83. \let\SectionFont=\bf
  84.  
  85. \def\section#1\par{\bigskip\goodbreak
  86.    \SubsectionNumber=0\noindent
  87.    {\hfil\bf\uppercase\expandafter{\romannumeral\SectionNumber}.\enskip #1\hfil}
  88.    \nobreak\medskip
  89.    \global\advance\SectionNumber by 1
  90.    \noindent}
  91.  
  92. %  Something is screwed up with \romannumeral and centering
  93. %\def\section#1{\DoCenteredSection{#1}}
  94.  
  95. \def\subsection#1\par{\bigskip\goodbreak\noindent
  96.    {\hfil\it \number\SectionNumber.\number\SubsectionNumber.\enspace #1\hfil}
  97.    \nobreak\medskip\noindent}
  98.  
  99. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  100. %   References
  101. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  102.  
  103. \let\RefFont=\tenpoint
  104.  
  105. \def\Refs{\vskip1in{\hfil\tenpoint REFERENCES\hfil}\vskip 2pc\RefFont}
  106.  
  107. \def\by#1{\setbox\bybox\hbox{\ninepoint\bf #1}}
  108. \def\vol#1{\setbox\volbox\hbox{\it #1}}
  109.  
  110. \def\SetRef{
  111.   \ifjour\jourfalse\vbox{\HangRef
  112.      \unhbox\bybox (\unhbox\yrbox), ``\unhbox\paperbox,'' 
  113.      \unhbox\jourbox, {\unhbox\volbox}, 
  114.      \ifvoid\nobox\relax\else (\unhbox\nobox), \fi
  115.      \unhbox\pagesbox. \par}\fi
  116.  
  117.   \ifbook\bookfalse\par\vbox{\HangRef
  118.      \unhbox\bybox\space {\it \unhbox\bookbox}. \unhbox\publaddrbox : 
  119.          \unhbox\publbox , \unhbox\yrbox.\par}\fi
  120.  
  121.  \ifinbook\inbookfalse\par\vbox{\HangRef
  122.      \unhbox\bybox\space (\unhbox\yrbox): ``\unhbox\paperbox,'' in 
  123.      {\it \unhbox\bookbox}, ed. by {\rm \unhbox\editorbox}.
  124.      \unhbox\publaddrbox : \unhbox\publbox \ifvoid\pagesbox\relax
  125.      \else, \unhbox\pagesbox .\fi\par}\fi
  126.  
  127.  \ifunpublished\unpublishedfalse\par\vbox{\HangRef
  128.      \unhbox\bybox\space(\unhbox\yrbox):
  129.     ``\unhbox\paperbox,'' \unhbox\paperinfobox .\par}\fi
  130. }
  131.  
  132.  
  133. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  134. %  Set the paper
  135. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  136.  
  137. \parindent=20pt
  138.  
  139. \def\DoTop{\Reset
  140. \vbox{
  141. \line{\hfil\box\titlebox\hfil}
  142. \vskip 2pc
  143. \line{\hfil\box\authorbox\hfil}
  144. \vskip1pc
  145. \line{\hfil\box\abstractbox\hfil}
  146. \vfootnote{*}{\unhbox\thanksbox}
  147. \vskip2pc}}
  148.  
  149. \def\DoPaper{\begindoublecolumns}
  150.  
  151. \let\eqno=\leqno
  152. \tenpoint
  153. \hfuzz=8pt
  154. \def\bye{\enddoublecolumns\vfill\eject\end}
  155. \def\footnoterule{}